<?php

class Contest_Form_StatisticActivityControl extends YouNet_Form
{
	public function __construct($options = null) {
		parent::__construct($options);
	}
	  
	protected $_element_decorators_list_checkbox = array(
		'ViewHelper',
		array('Label', array('tag' => 'div', 'class' => '', 'tagClass' => 'ym_form_label')),
		array('HtmlTag', array('tag' => 'div', 'class' => 'list_checkbox', 'id' => 'list_checkbox')),
		array(array('row' => 'HtmlTag'), array('tag' => 'div', 'class' => 'ym_form_row'))
	);
		
	public function init() {
		$this->setAttrib('class', 'sm_form classic');
		$this->setName('activity-form');
		
		$this->addElement('multiCheckbox','options',array(
			'label'			=> $this->getTranslator()->_(''),
			'multiOptions'	=> array(
				YouNet_Model_DbTable_Visitors::STATISTIC_KEY		=> YouNet_Model_DbTable_Visitors::TOTAL_VISITOR_NAME,
				YouNet_Model_DbTable_Likes::STATISTIC_KEY	=> YouNet_Model_DbTable_Likes::TOTAL_NEWFAN_NAME,
				Core_Model_DbTable_Votes::STATISTIC_KEY		=> Core_Model_DbTable_Votes::TOTAL_VOTER_NAME,
			),
			'value' => YouNet_Model_DbTable_Visitors::STATISTIC_KEY
		));
		$this->options->setSeparator('');
		$this->options->setAttrib('escape', false);
	}
			
}